package com.demo.spring.cloud.gateway.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wangzhilong
 * @date 2019-06-17
 */
@RestController
public class FallbackController {


    @GetMapping("/fallback")
    public String fallback(){
        return "invoke fallback from gateway.";
    }

}
